package com.bolong.gmgc.bean.record;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CashcheckQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public CashcheckQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPayDateIsNull() {
            addCriterion("pay_date is null");
            return (Criteria) this;
        }

        public Criteria andPayDateIsNotNull() {
            addCriterion("pay_date is not null");
            return (Criteria) this;
        }

        public Criteria andPayDateEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date =", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date <>", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateGreaterThan(Date value) {
            addCriterionForJDBCDate("pay_date >", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date >=", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateLessThan(Date value) {
            addCriterionForJDBCDate("pay_date <", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date <=", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateIn(List<Date> values) {
            addCriterionForJDBCDate("pay_date in", values, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("pay_date not in", values, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("pay_date between", value1, value2, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("pay_date not between", value1, value2, "payDate");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameIsNull() {
            addCriterion("watchhousename is null");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameIsNotNull() {
            addCriterion("watchhousename is not null");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameEqualTo(String value) {
            addCriterion("watchhousename =", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameNotEqualTo(String value) {
            addCriterion("watchhousename <>", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameGreaterThan(String value) {
            addCriterion("watchhousename >", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameGreaterThanOrEqualTo(String value) {
            addCriterion("watchhousename >=", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameLessThan(String value) {
            addCriterion("watchhousename <", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameLessThanOrEqualTo(String value) {
            addCriterion("watchhousename <=", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameLike(String value) {
            addCriterion("watchhousename like", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameNotLike(String value) {
            addCriterion("watchhousename not like", value, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameIn(List<String> values) {
            addCriterion("watchhousename in", values, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameNotIn(List<String> values) {
            addCriterion("watchhousename not in", values, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameBetween(String value1, String value2) {
            addCriterion("watchhousename between", value1, value2, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andWatchhousenameNotBetween(String value1, String value2) {
            addCriterion("watchhousename not between", value1, value2, "watchhousename");
            return (Criteria) this;
        }

        public Criteria andEmpnameIsNull() {
            addCriterion("empname is null");
            return (Criteria) this;
        }

        public Criteria andEmpnameIsNotNull() {
            addCriterion("empname is not null");
            return (Criteria) this;
        }

        public Criteria andEmpnameEqualTo(String value) {
            addCriterion("empname =", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameNotEqualTo(String value) {
            addCriterion("empname <>", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameGreaterThan(String value) {
            addCriterion("empname >", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameGreaterThanOrEqualTo(String value) {
            addCriterion("empname >=", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameLessThan(String value) {
            addCriterion("empname <", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameLessThanOrEqualTo(String value) {
            addCriterion("empname <=", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameLike(String value) {
            addCriterion("empname like", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameNotLike(String value) {
            addCriterion("empname not like", value, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameIn(List<String> values) {
            addCriterion("empname in", values, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameNotIn(List<String> values) {
            addCriterion("empname not in", values, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameBetween(String value1, String value2) {
            addCriterion("empname between", value1, value2, "empname");
            return (Criteria) this;
        }

        public Criteria andEmpnameNotBetween(String value1, String value2) {
            addCriterion("empname not between", value1, value2, "empname");
            return (Criteria) this;
        }

        public Criteria andCountsIsNull() {
            addCriterion("counts is null");
            return (Criteria) this;
        }

        public Criteria andCountsIsNotNull() {
            addCriterion("counts is not null");
            return (Criteria) this;
        }

        public Criteria andCountsEqualTo(Integer value) {
            addCriterion("counts =", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsNotEqualTo(Integer value) {
            addCriterion("counts <>", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsGreaterThan(Integer value) {
            addCriterion("counts >", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsGreaterThanOrEqualTo(Integer value) {
            addCriterion("counts >=", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsLessThan(Integer value) {
            addCriterion("counts <", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsLessThanOrEqualTo(Integer value) {
            addCriterion("counts <=", value, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsIn(List<Integer> values) {
            addCriterion("counts in", values, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsNotIn(List<Integer> values) {
            addCriterion("counts not in", values, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsBetween(Integer value1, Integer value2) {
            addCriterion("counts between", value1, value2, "counts");
            return (Criteria) this;
        }

        public Criteria andCountsNotBetween(Integer value1, Integer value2) {
            addCriterion("counts not between", value1, value2, "counts");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyIsNull() {
            addCriterion("recivemoneyy is null");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyIsNotNull() {
            addCriterion("recivemoneyy is not null");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyEqualTo(Double value) {
            addCriterion("recivemoneyy =", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyNotEqualTo(Double value) {
            addCriterion("recivemoneyy <>", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyGreaterThan(Double value) {
            addCriterion("recivemoneyy >", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyGreaterThanOrEqualTo(Double value) {
            addCriterion("recivemoneyy >=", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyLessThan(Double value) {
            addCriterion("recivemoneyy <", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyLessThanOrEqualTo(Double value) {
            addCriterion("recivemoneyy <=", value, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyIn(List<Double> values) {
            addCriterion("recivemoneyy in", values, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyNotIn(List<Double> values) {
            addCriterion("recivemoneyy not in", values, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyBetween(Double value1, Double value2) {
            addCriterion("recivemoneyy between", value1, value2, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andRecivemoneyyNotBetween(Double value1, Double value2) {
            addCriterion("recivemoneyy not between", value1, value2, "recivemoneyy");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountIsNull() {
            addCriterion("cashpaper_count is null");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountIsNotNull() {
            addCriterion("cashpaper_count is not null");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountEqualTo(Integer value) {
            addCriterion("cashpaper_count =", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountNotEqualTo(Integer value) {
            addCriterion("cashpaper_count <>", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountGreaterThan(Integer value) {
            addCriterion("cashpaper_count >", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("cashpaper_count >=", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountLessThan(Integer value) {
            addCriterion("cashpaper_count <", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountLessThanOrEqualTo(Integer value) {
            addCriterion("cashpaper_count <=", value, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountIn(List<Integer> values) {
            addCriterion("cashpaper_count in", values, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountNotIn(List<Integer> values) {
            addCriterion("cashpaper_count not in", values, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountBetween(Integer value1, Integer value2) {
            addCriterion("cashpaper_count between", value1, value2, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperCountNotBetween(Integer value1, Integer value2) {
            addCriterion("cashpaper_count not between", value1, value2, "cashpaperCount");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyIsNull() {
            addCriterion("cashpaper_money is null");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyIsNotNull() {
            addCriterion("cashpaper_money is not null");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyEqualTo(Double value) {
            addCriterion("cashpaper_money =", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyNotEqualTo(Double value) {
            addCriterion("cashpaper_money <>", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyGreaterThan(Double value) {
            addCriterion("cashpaper_money >", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("cashpaper_money >=", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyLessThan(Double value) {
            addCriterion("cashpaper_money <", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyLessThanOrEqualTo(Double value) {
            addCriterion("cashpaper_money <=", value, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyIn(List<Double> values) {
            addCriterion("cashpaper_money in", values, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyNotIn(List<Double> values) {
            addCriterion("cashpaper_money not in", values, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyBetween(Double value1, Double value2) {
            addCriterion("cashpaper_money between", value1, value2, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andCashpaperMoneyNotBetween(Double value1, Double value2) {
            addCriterion("cashpaper_money not between", value1, value2, "cashpaperMoney");
            return (Criteria) this;
        }

        public Criteria andAllreciceIsNull() {
            addCriterion("allrecice is null");
            return (Criteria) this;
        }

        public Criteria andAllreciceIsNotNull() {
            addCriterion("allrecice is not null");
            return (Criteria) this;
        }

        public Criteria andAllreciceEqualTo(Double value) {
            addCriterion("allrecice =", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceNotEqualTo(Double value) {
            addCriterion("allrecice <>", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceGreaterThan(Double value) {
            addCriterion("allrecice >", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceGreaterThanOrEqualTo(Double value) {
            addCriterion("allrecice >=", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceLessThan(Double value) {
            addCriterion("allrecice <", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceLessThanOrEqualTo(Double value) {
            addCriterion("allrecice <=", value, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceIn(List<Double> values) {
            addCriterion("allrecice in", values, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceNotIn(List<Double> values) {
            addCriterion("allrecice not in", values, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceBetween(Double value1, Double value2) {
            addCriterion("allrecice between", value1, value2, "allrecice");
            return (Criteria) this;
        }

        public Criteria andAllreciceNotBetween(Double value1, Double value2) {
            addCriterion("allrecice not between", value1, value2, "allrecice");
            return (Criteria) this;
        }

        public Criteria andParkIdIsNull() {
            addCriterion("park_id is null");
            return (Criteria) this;
        }

        public Criteria andParkIdIsNotNull() {
            addCriterion("park_id is not null");
            return (Criteria) this;
        }

        public Criteria andParkIdEqualTo(String value) {
            addCriterion("park_id =", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdNotEqualTo(String value) {
            addCriterion("park_id <>", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdGreaterThan(String value) {
            addCriterion("park_id >", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdGreaterThanOrEqualTo(String value) {
            addCriterion("park_id >=", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdLessThan(String value) {
            addCriterion("park_id <", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdLessThanOrEqualTo(String value) {
            addCriterion("park_id <=", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdLike(String value) {
            addCriterion("park_id like", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdNotLike(String value) {
            addCriterion("park_id not like", value, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdIn(List<String> values) {
            addCriterion("park_id in", values, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdNotIn(List<String> values) {
            addCriterion("park_id not in", values, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdBetween(String value1, String value2) {
            addCriterion("park_id between", value1, value2, "parkId");
            return (Criteria) this;
        }

        public Criteria andParkIdNotBetween(String value1, String value2) {
            addCriterion("park_id not between", value1, value2, "parkId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}